
package com.p2p.daily.service.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.p2p.common.base.BaseServiceImpl;
import com.p2p.daily.mapper.P2pDailyOutputMapper;
import com.p2p.daily.po.P2pDailyOutput;
import com.p2p.daily.service.P2pDailyOutputService;
import com.p2p.daily.vo.P2pMonthOutputData;

@Service
public class P2pDailyOutputServiceImpl extends BaseServiceImpl<P2pDailyOutputMapper, P2pDailyOutput> implements P2pDailyOutputService {
    private static final Logger logger = LoggerFactory.getLogger(P2pDailyOutputServiceImpl.class);
    @Autowired
    private P2pDailyOutputMapper p2pDailyOutputMapper;
	
	
	@Override
	public List<P2pMonthOutputData> selectMonthDataList(String coinType, String connectionPool, String startTime,
			Integer showZero, String poolAddress, Integer pageSize, int i) {
		// TODO Auto-generated method stub
		return p2pDailyOutputMapper.selectMonthDataList(coinType, connectionPool, startTime, showZero, poolAddress, pageSize, i);
	}


	@Override
	public Integer selectMonthDataSize(String coinType, String connectionPool, String startTime, Integer showZero,
			String poolAddress) {
		// TODO Auto-generated method stub
		return p2pDailyOutputMapper.selectMonthDataSize(coinType,connectionPool,startTime,showZero,poolAddress);
	}


	@Override
	public Integer selectMonthCalculateDataCount(String coinType, String connectionPool, String startTime,
			Integer showZero, String poolAddress) {
		// TODO Auto-generated method stub
		return p2pDailyOutputMapper.selectMonthCalculateDataCount(coinType, connectionPool, startTime, showZero, poolAddress);
	}


    
}
